package com.atguigu.gulimall.product.feign;

import com.atguigu.common.to.SkuStockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/hasStock")
     List<SkuStockVo> hasStock (@RequestBody Long[] skuIds);
}
